import defaultSettings from '@/settings'

export const useSettingsStore = defineStore('setting', () => {
  const title = defaultSettings.title

  const tagsView = useStorage('tagsView', defaultSettings.tagsView)

  const sidebarLogo = ref(defaultSettings.sidebarLogo)

  return {
    title,
    tagsView,
    sidebarLogo
  }
})
